<?php
require_once('global.php');
require('public_data.php');
$smarty->assign('big_title',$arr_priv['big_title']);
$smarty->assign('big_text',$arr_priv['big_text']);
$smarty->assign('small_l_title',$arr_priv['small_l_title']);
$smarty->assign('small_l_text',$arr_priv['small_l_text']);
$smarty->assign('small_r_title',$arr_priv['small_r_title']);
$smarty->assign('small_r_text',$arr_priv['small_r_text']);
//作品图片
$result = $db->findall('p_imgs');
$smarty->assign('arr_img',$result);
$smarty->display('index.html');
?>